package com.xuetang9.BBS.dao;

import java.util.List;

import com.xuetang9.BBS.domain.Topic;

public interface TopicDao {

	/**
	 * 显示帖子信息
	 * @param top
	 * @return
	 */
	List<Topic> selectTopic(Topic top);
	/**
	 * 新建帖子信息
	 * @param topic
	 * @return
	 */
	int save(Topic topic);
	
}
